package com.jiyun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 聪哥哥
 * @since 2023-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Emp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String worknum;

    /**
     * 人资/普通员工
     */
    private String type;

    private String idcard;

    /**
     * 政治面貌id
     */
    private Integer zhengzhimianmaoId;

    /**
     * 民族id
     */
    private Integer minzuId;

    /**
     * 籍贯
     */
    private String jiguan;

    private String email;

    /**
     * 联系地址
     */
    private String address;

    /**
     * 职位id
     */
    private String zhiwei;

    /**
     * 职称
     */
    private String zhicheng;

    /**
     * 部门id集合
     */
    private String deptIds;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 学历id
     */
    private String xueli;

    /**
     * 毕业院校
     */
    private String biyeyuanxiao;

    /**
     * 专业名称
     */
    private String zhuanyemingcheng;

    /**
     * 入职日期
     */
    private Date ruzhiriqi;

    /**
     * 转正日期
     */
    private Date zhuanzhengriqi;

    /**
     * 合同开始日期
     */
    private Date hetongkaishiriqi;

    /**
     * 合同终止日期
     */
    private Date hetongzhongzhiriqi;

    /**
     * 聘用形式：劳动合同、劳务合同
     */
    private String pinyongxingshi;

    /**
     * 婚姻状况：已婚、未婚
     */
    private String hunyinzhuangkuang;

    /**
     * 性别
     */
    private String sex;

    private Date birth;


}
